package edu.nyu.hps.New;

public class Ambulance implements Comparable<Ambulance> {
	Hospital h,origH;
	int time;

	public Ambulance(Hospital h) {
		this.origH = h;
		this.h = h;
		this.time = 0;
	}

	public int compareTo(Ambulance o) {
		if (h.density < o.h.density) {
			return 1;
		} else if (h.density == o.h.density) {
			return 0;
		}

		return -1;
	}

}
